package com.opp.demo05;
//Person 人
public class Person {
    public Person() {
        System.out.println("Person无参执行了");
    }

    protected  String name = "liang";

        //私有的东西无法被继承
        public void print(){
            System.out.println("Prson");
        }
}


